/*
 * @Date: 2023-01-13 17:36:39
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-09 21:39:51
 * @FilePath: \A19\backend\src\shared\types\userHomework.ts
 */
import { ObjectId } from "mongodb";
import { studentAnswer } from "./Answer";

export interface userHomework {
    _id: ObjectId
    student: ObjectId
    homework: ObjectId
    submitTime: Date
    answers: Array<studentAnswer>
    score:number
    status:'saved' | 'commited'
}